package com.hs.live.common.enums;

import lombok.Data;

/**
 * @Description: 响应Code枚举
 * @Author 胡尚
 * @Date: 2024/9/6 16:56
 */
public enum ResponseCodeEnum {
    /**
     * 成功
     */
    success(200,"成功"),
    /**
     * 失败
     */
    error(500,"失败");

    Integer code;
    String describe;

    ResponseCodeEnum(Integer code, String describe) {
        this.code = code;
        this.describe = describe;
    }

    public Integer getCode(){
        return code;
    }

    public String getDescribe(){
        return describe;
    }
}
